<template>
    <div>
         <!-- 导航栏 -->
    <van-nav-bar title="消息"  left-arrow fixed @click-left="onClickLeft" class="header-nav" >
        <template #right>
           <van-icon name="plus" size="20" />
        </template>
    </van-nav-bar>
    </div>

</template>

<script>
export default {
  data () {
    return {

    }
  },
  created () {

  },
  methods: {
    onClickLeft () {
      this.$router.push('/index')
    }
  }
}
</script>

 <style lang="less" scoped>
 .header-nav{
     background-color: #f5f5f5;
 }
 /deep/ .van-nav-bar__arrow {
    min-width: 1em;
    margin-right: 4px;
    font-size: 23px !important;
}
 </style>
